echo off
echo Make sure solution has been rebuilt in Release mode and DDF is recompiled!

xcopy ..\Solution\PointBridge.SPDX.wsp SPDXSetup\ /e /q /r /y
xcopy ..\Solution\InstallSPDX.bat SPDXSetup\ /e /q /r /y
xcopy ..\Solution\UpgradeSPDX.bat SPDXSetup\ /e /q /r /y
xcopy ..\..\SPDXCmd\Bin\Release\SPDXCmd.exe SPDXSetup\ /e /q /r /y

cd SPDXSetup
UpgradeSPDX.bat

